package com.four.dao;

import com.four.pojo.Coment;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("comentMapper")
public interface ComentMapper {
    //查询全部
    List<Coment> findAllComent();

    //好评
    List<Coment> findHp();
    //差评
    List<Coment> findCp();
    //查看
    Coment findByIdComent(int rid);



    //查询全部门店
    List<Coment> findAllComentMen();

    //好评
    List<Coment> findHpMen();

    //差评
    List<Coment> findCpMen();


}